Objects Reference

bsp_object::get_param_desc

Prototype

int get_param_desc(int i,param_desc *pd)

Parameters

Parameter Type Description
i int parameter index
pd param_desc * parameter desc to be filled

Return Value

If pd=0, the number of custom parameters.

Remarks

This function implements the object standard parameters. All sub-classes must have these 12 parameters:

pos, vel, force, rot, life, colflag, mass, radius, bump, friction, active, latedraw